﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace ifunction.BaiduBCS.SDK
{
    /// <summary>
    /// Class StorageObjectCopyRequest.
    /// </summary>
    [DataContract]
    public class StorageObjectCopyRequest : IBucketObject
    {
        /// <summary>
        /// Gets or sets the name of the bucket.
        /// </summary>
        /// <value>The name of the bucket.</value>
        [DataMember]
        public string BucketName
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the name of the object.
        /// </summary>
        /// <value>The name of the object.</value>
        [DataMember]
        public string ObjectName
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the new name of the bucket.
        /// </summary>
        /// <value>The new name of the bucket.</value>
        [DataMember]
        public string NewBucketName
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the new name of the object.
        /// </summary>
        /// <value>The new name of the object.</value>
        [DataMember]
        public string NewObjectName
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the m d5 match required.
        /// </summary>
        /// <value>The m d5 match required.</value>
        [DataMember]
        public string MD5MatchRequired
        {
            get;
            set;
        }
    }
}
